package com.lhd.qd.module.system.resource.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(value = "资源新增参数")
@Data
public class ResourceSaveDTO {

    @ApiModelProperty(value = "编码")
    private String code;

    @ApiModelProperty(value = "上级编码")
    private String parentCode;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "类型")
    private Integer typeCode;

    @ApiModelProperty(value = "权限名称")
    private String operatePermName;

    @ApiModelProperty(value = "请求方法")
    private Integer operateHttpMethodCode;

    @ApiModelProperty(value = "请求url")
    private String operateHttpUrl;

    @ApiModelProperty(value = "前端路由名称")
    private String operateRouteName;

    @ApiModelProperty(value = "图标")
    private String navIcon;

    @ApiModelProperty(value = "顺序")
    private Integer navSortNo;

}
